package com.wsoft.constant;

/**
 * 公共静态常量
 *
 * @author: juiet
 * @date: 2024年09月03日 14:23
 */
public class CommonConstant {
    /**
     * 是否
     */
    public static final int YESNO_YES = 1;
    public static final int YESNO_NO = 0;

    /**
     * 文件上传类型（本地：local，Minio：minio）
     */
    public static final String UPLOAD_TYPE_LOCAL = "local";
    public static final String UPLOAD_TYPE_MINIO = "minio";

    /**
     * http sessionId
     */
    public static final String SESSION_ID = "sessionId";
    /**
     *  http oss range
     */
    public static final String RANGE = "range";

    /**
     * oss文件最大限制
     */
    public static final String OSS_MAXIMUM_LIMIT ="oss.maximum.limit";
    /**
     * oss文件请求大小控制
     */
    public static final String OSS_TRAFFIC_LIMIT = "oss.traffic.limit";
    /**
     * config配置表 file字段
     */
    public static final String OSS_CONFIG_FILE = "file";
}
